'user strict'

import thunk from 'redux-thunk'
import { createStore, applyMiddleware } from 'redux'
import rootReducer from '../reducer'

let createStoreWithMiddleware = applyMiddleware(thunk)(createStore)

let store = createStoreWithMiddleware(rootReducer)

export default store
